<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
		<title>录入项目</title>
		<link rel="stylesheet" type="text/css" href="../../css/pinggu/lnto_project.css" />
		<link rel="stylesheet" type="text/css" href="../../css/layer.css"/>
		<script src="../../js/layer.js" type="text/javascript" charset="utf-8"></script>
	</head>

	<body id="t_body">
		<div id="main" class="width100 height100 none">
			<header class="positionR colorF height7">
				<img src="../../img/yihu/fanhui.png" onclick="window.history.go(-1)" />
				<div class="height30"></div>
				<div class="textC font1-4">录入项目</div>
			</header>
			<div class="width100 height90 MT20">
				<div class="topbar width95 Mauto"></div>
				<div class="top width90 height15 PT20 PB20 overflowH Mauto">
					<div class="fl textC width30">
						<img class="headimg radius50" :src="ip+personnel.nursingIcon" onerror="this.src='../../img/yiyao/WomanElderly.png'" v-if="personnel.nurseGender == '女'" />
						<img class="headimg radius50" :src="ip+personnel.nursingIcon" onerror="this.src='../../img/yiyao/ManElderly.png'" v-else>
					</div>
					<div class="fl width65">
						<p class="font1-4" style="color: #222222;">{{personnel.nursingNmae}} <span class="qiantui fr font1-2 LH2" style="color: #FFFFFF; margin-top: -5px;" @click="qiandaofun">{{personnel.qiandao}}</span></p>
						<p class="font1 colorC"><img class="height1-2R verticlM" src="../../img/pinggu/02.png" />&nbsp;&nbsp;{{personnel.qiandaoTime}}</p>
						<p class="font1 colorC"><img class="height1-2R verticlM" src="../../img/pinggu/02.png" />&nbsp;&nbsp;预约时间: {{personnel.nursingTime}}</p>
						<p class="font1 colorC"><img class="height1-2R verticlM" src="../../img/pinggu/01.png" />&nbsp;&nbsp;服务地址：{{personnel.address}}</p>
					</div>
				</div>
				<div class="" style="height: 3rem;"></div>
				<div class="center height60 width90 Mauto positionR">
					<img class="ljimg width100" src="../../img/pinggu/07.png" />
					<div class="title textC font1-2">
						<img class="verticlM" src="../../img/pinggu/09.png" />&nbsp;&nbsp;评估量表&nbsp;&nbsp;<img class="verticlM" src="../../img/pinggu/08.png" />
					</div>
					<ul class="tihao width80 Mauto PT20 overflowH">
						<li class="fl font1 LH3 radius50 textC MR5 MT5 colorF" v-for="(list,index) in assessResponse" :class="{yizuo : list.assessId}" @click="opennum(index)">{{index+1}}</li>
					</ul>
					<p class="tishu width100 textC font1 PT40">共 {{assessResponse.length}} 题，已做 <span v-if="personnel.score">{{assessResponse.length}}</span><span v-else>{{completed}}</span> 题</p>
					<div class="but width70 colorF LH3 textC font1-2" v-if="completed == 0 && !personnel.score" @click="pinggu(0)">
						<span>去评估</span>
					</div>
					<div class="but width70 colorF LH3 textC font1-2" v-else-if="completed == assessResponse.length && !personnel.score" @click="submitchoose">
						<span>上传评估结果</span>
					</div>
					<div class="but width70 colorF LH3 textC font1-2" v-else-if="!personnel.score" @click="pinggu(0)">
						<span>继续答题</span>
					</div>
					<div class="but width70 colorF LH3 textC font1-2" v-else-if="personnel.score">
						<span>已评估</span>
					</div>
				</div>
			</div>
			<div class="Popup width100 height100" v-if="Popupshow">
				<div class="content width85 radius10P PT20" v-if="assessstyle == 0">
					<p class="overflowH"><span class="fl font1-4 PL20 PB20">{{assessResponse[assessnum].assessName}}</span><span class="close font1-2 fr MR20 LH1-5 colord9" @click="closepinggu">&nbsp;&nbsp;关闭&nbsp;&nbsp;</span></p>
					<div class="assesslist PL30 overflowH PB20" v-for="(item,index) in assessResponse[assessnum].assesslist" @click="choose(index)">
						<img class="fl PT5" src="../../img/pinggu/12.png" v-if="assessResponse[assessnum].assessId == index+1" />
						<img class="fl PT5" src="../../img/pinggu/10.png" v-else/>
						<p class="width80 fl PL10 font1-2 colord9">{{item.assessContent}}</p>
					</div>
					<div class="tijiao width50 LH2 font1-4 textC Mauto MB20 colorF" v-if="assessnum == assessResponse.length-1" @click="tijiao">提交</div>
					<p @click="nextassess" v-else><span class="fl font1-4 colord9 PL20 PB20">跳过</span>&nbsp;&nbsp;<img style="height: 1.4rem;" src="../../img/pinggu/11.png" /><span class="next font1-4 fr MR20 LH2 colorF">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;下一题&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p>

				</div>
				<div class="content width85 radius10P textC positionR" v-else-if="assessstyle == 1">
					<img src="../../img/pinggu/13.png" style="margin-top: -2.5rem;height: 6rem;" />
					<img class="fr" src="../../img/pinggu/14.png" style="position: absolute;top:1rem;right: 1rem; height: 2rem;" @click="closepinggu" />
					<div class="font1-2 colord9 PB20 LH2">
						评估表已填写完成，<br />评估结果将在审核之后第一时间通知你。
					</div>
					<div class="font1-4 colorF LH3" style="background: #6eb3ff; border-radius: 0 0 10px 10px;" @click="submitchoose">
						上传评估结果
					</div>
				</div>
				<div class="content width85 radius10P PT20 textC positionR" v-else-if="assessstyle == 2">
					<img class="fr" src="../../img/pinggu/14.png" style="position: absolute;top:1rem;right: 1rem; height: 2rem;" @click="closepinggu" />
					<div class="font1-2 colord9 PB20 LH2">
						<span style="color:#6eb3ff ;">上传成功</span><br />您的评估已经上传成功
					</div>
					<div class="font1-4 colorF LH3" style="background: #6eb3ff; border-radius: 0 0 10px 10px;" @click="closepinggu('true')">
						知道了
					</div>
				</div>
				<div class="content width85 radius10P PT20 textC positionR" v-else-if="assessstyle == 3">
					<img class="fr" src="../../img/pinggu/14.png" style="position: absolute;top:1rem;right: 1rem; height: 2rem;" @click="closepinggu" />
					<div class="font1-2 color6 PB20 LH2 PL10 PR10">
						<img class="height3R" src="../../img/pinggu/15.png" /><br />上传失败，网络信号较弱，请在网络信号较好时去<span style="color: #6eb3ff;">未完成</span>页面进行离线上传
					</div>
					<div class="font1-4 colorF LH3" style="background: #6eb3ff; border-radius: 0 0 10px 10px;" @click="staging">
						暂存
					</div>
				</div>

			</div>
		</div>
		<script src="../../js/vue.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../js/jquary.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../js/common.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../js/pinggu/lnto_project.js" type="text/javascript" charset="utf-8"></script>
	</body>

</html>